package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Outpatient;
import com.san.hkhospital.entity.OutpatientExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:OutpatientMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface OutpatientMapper {
    long countByExample(OutpatientExample example);

    int deleteByExample(OutpatientExample example);

    int deleteByPrimaryKey(Integer opId);

    int insert(Outpatient record);

    int insertSelective(Outpatient record);

    List<Outpatient> selectByExample(OutpatientExample example);

    Outpatient selectByPrimaryKey(Integer opId);

    int updateByExampleSelective(@Param("record") Outpatient record, @Param("example") OutpatientExample example);

    int updateByExample(@Param("record") Outpatient record, @Param("example") OutpatientExample example);

    int updateByPrimaryKeySelective(Outpatient record);

    int updateByPrimaryKey(Outpatient record);
}